;--- include file created by h2incx v0.99.11, copyright 2005 japheth
;--- source file: c:\programme\devstudio\vc6\include\HTTPEXT.H, last modified: 4/24/1998 0:0

ifndef _HTTPEXT_H_
_HTTPEXT_H_	EQU	<>
	include windows.inc
ifdef __cplusplus
;extern "C"
;{
endif 
HSE_VERSION_MAJOR	EQU	4
HSE_VERSION_MINOR	EQU	0
HSE_LOG_BUFFER_LEN	EQU	80
HSE_MAX_EXT_DLL_NAME_LEN	EQU	256
HSE_VERSION	EQU	<MAKELONG ( HSE_VERSION_MINOR , HSE_VERSION_MAJOR )>
HSE_STATUS_SUCCESS	EQU	1
HSE_STATUS_SUCCESS_AND_KEEP_CONN	EQU	2
HSE_STATUS_PENDING	EQU	3
HSE_STATUS_ERROR	EQU	4
HSE_REQ_BASE	EQU	0
HSE_REQ_SEND_URL_REDIRECT_RESP	EQU	( HSE_REQ_BASE + 1 )
HSE_REQ_SEND_URL	EQU	( HSE_REQ_BASE + 2 )
HSE_REQ_SEND_RESPONSE_HEADER	EQU	( HSE_REQ_BASE + 3 )
HSE_REQ_DONE_WITH_SESSION	EQU	( HSE_REQ_BASE + 4 )
HSE_REQ_END_RESERVED	EQU	1000
HSE_REQ_MAP_URL_TO_PATH	EQU	( HSE_REQ_END_RESERVED + 1 )
HSE_REQ_GET_SSPI_INFO	EQU	( HSE_REQ_END_RESERVED + 2 )
HSE_APPEND_LOG_PARAMETER	EQU	( HSE_REQ_END_RESERVED + 3 )
HSE_REQ_IO_COMPLETION	EQU	( HSE_REQ_END_RESERVED + 5 )
HSE_REQ_TRANSMIT_FILE	EQU	( HSE_REQ_END_RESERVED + 6 )
HSE_REQ_REFRESH_ISAPI_ACL	EQU	( HSE_REQ_END_RESERVED + 7 )
HSE_REQ_IS_KEEP_CONN	EQU	( HSE_REQ_END_RESERVED + 8 )
HSE_REQ_ASYNC_READ_CLIENT	EQU	( HSE_REQ_END_RESERVED + 10 )
HSE_REQ_GET_IMPERSONATION_TOKEN	EQU	( HSE_REQ_END_RESERVED + 11 )
HSE_REQ_MAP_URL_TO_PATH_EX	EQU	( HSE_REQ_END_RESERVED + 12 )
HSE_REQ_ABORTIVE_CLOSE	EQU	( HSE_REQ_END_RESERVED + 14 )
HSE_REQ_GET_CERT_INFO_EX	EQU	( HSE_REQ_END_RESERVED + 15 )
HSE_REQ_SEND_RESPONSE_HEADER_EX	EQU	( HSE_REQ_END_RESERVED + 16 )
HSE_TERM_ADVISORY_UNLOAD	EQU	00000001h
HSE_TERM_MUST_UNLOAD	EQU	00000002h
HSE_IO_SYNC	EQU	00000001h
HSE_IO_ASYNC	EQU	00000002h
HSE_IO_DISCONNECT_AFTER_SEND	EQU	00000004h
HSE_IO_SEND_HEADERS	EQU	00000008h
HCONN typedef LPVOID
HSE_VERSION_INFO	struct 
dwExtensionVersion	DWORD	?
lpszExtensionDesc	CHAR HSE_MAX_EXT_DLL_NAME_LEN dup (?)
HSE_VERSION_INFO	ends

LPHSE_VERSION_INFO typedef ptr HSE_VERSION_INFO

EXTENSION_CONTROL_BLOCK	struct 
cbSize	DWORD	?
dwVersion	DWORD	?
ConnID	HCONN	?
dwHttpStatusCode	DWORD	?
lpszLogData	CHAR HSE_LOG_BUFFER_LEN dup (?)
lpszMethod	LPSTR	?
lpszQueryString	LPSTR	?
lpszPathInfo	LPSTR	?
lpszPathTranslated	LPSTR	?
cbTotalBytes	DWORD	?
cbAvailable	DWORD	?
lpbData	LPBYTE	?
lpszContentType	LPSTR	?
protoEXTENSION_CONTROL_BLOCK_GetServerVariable typedef proto WINSTDCALLCONV :HCONN,:LPSTR,:LPVOID,:LPDWORD
pEXTENSION_CONTROL_BLOCK_GetServerVariable typedef ptr protoEXTENSION_CONTROL_BLOCK_GetServerVariable
GetServerVariable	pEXTENSION_CONTROL_BLOCK_GetServerVariable	?
protoEXTENSION_CONTROL_BLOCK_WriteClient typedef proto WINSTDCALLCONV :HCONN,:LPVOID,:LPDWORD,:DWORD
pEXTENSION_CONTROL_BLOCK_WriteClient typedef ptr protoEXTENSION_CONTROL_BLOCK_WriteClient
WriteClient	pEXTENSION_CONTROL_BLOCK_WriteClient	?
protoEXTENSION_CONTROL_BLOCK_ReadClient typedef proto WINSTDCALLCONV :HCONN,:LPVOID,:LPDWORD
pEXTENSION_CONTROL_BLOCK_ReadClient typedef ptr protoEXTENSION_CONTROL_BLOCK_ReadClient
ReadClient	pEXTENSION_CONTROL_BLOCK_ReadClient	?
protoEXTENSION_CONTROL_BLOCK_ServerSupportFunction typedef proto WINSTDCALLCONV :HCONN,:DWORD,:LPVOID,:LPDWORD,:LPDWORD
pEXTENSION_CONTROL_BLOCK_ServerSupportFunction typedef ptr protoEXTENSION_CONTROL_BLOCK_ServerSupportFunction
ServerSupportFunction	pEXTENSION_CONTROL_BLOCK_ServerSupportFunction	?
EXTENSION_CONTROL_BLOCK	ends

LPEXTENSION_CONTROL_BLOCK typedef ptr EXTENSION_CONTROL_BLOCK

HSE_URL_FLAGS_READ	EQU	00000001h
HSE_URL_FLAGS_WRITE	EQU	00000002h
HSE_URL_FLAGS_EXECUTE	EQU	00000004h
HSE_URL_FLAGS_SSL	EQU	00000008h
HSE_URL_FLAGS_DONT_CACHE	EQU	00000010h
HSE_URL_FLAGS_NEGO_CERT	EQU	00000020h
HSE_URL_FLAGS_REQUIRE_CERT	EQU	00000040h
HSE_URL_FLAGS_MAP_CERT	EQU	00000080h
HSE_URL_FLAGS_SSL128	EQU	00000100h
HSE_URL_FLAGS_SCRIPT	EQU	00000200h
HSE_URL_FLAGS_MASK	EQU	000003ffh
HSE_URL_MAPEX_INFO	struct 
lpszPath	CHAR MAX_PATH dup (?)
dwFlags	DWORD	?
cchMatchingPath	DWORD	?
cchMatchingURL	DWORD	?
dwReserved1	DWORD	?
dwReserved2	DWORD	?
HSE_URL_MAPEX_INFO	ends

LPHSE_URL_MAPEX_INFO typedef ptr HSE_URL_MAPEX_INFO

proto_PFN_HSE_IO_COMPLETION typedef proto WINSTDCALLCONV :ptr EXTENSION_CONTROL_BLOCK,:PVOID,:DWORD,:DWORD
PFN_HSE_IO_COMPLETION typedef ptr proto_PFN_HSE_IO_COMPLETION
HSE_TF_INFO	struct 
pfnHseIO	PFN_HSE_IO_COMPLETION	?
pContext	PVOID	?
hFile	HANDLE	?
pszStatusCode	LPSTR	?
BytesToWrite	DWORD	?
Offset_	DWORD	?
pHead	PVOID	?
HeadLength	DWORD	?
pTail	PVOID	?
TailLength	DWORD	?
dwFlags	DWORD	?
HSE_TF_INFO	ends

LPHSE_TF_INFO typedef ptr HSE_TF_INFO

HSE_SEND_HEADER_EX_INFO	struct 
pszStatus	LPSTR	?
pszHeader	LPSTR	?
cchStatus	DWORD	?
cchHeader	DWORD	?
fKeepConn	BOOL	?
HSE_SEND_HEADER_EX_INFO	ends

LPHSE_SEND_HEADER_EX_INFO typedef ptr HSE_SEND_HEADER_EX_INFO

if (_WIN32_WINNT ge 400h)
	include wincrypt.inc
CERT_CONTEXT_EX	struct 
CertContext	CERT_CONTEXT	<>
cbAllocated	DWORD	?
dwCertificateFlags	DWORD	?
CERT_CONTEXT_EX	ends

endif 
GetExtensionVersion proto WINSTDCALLCONV :ptr HSE_VERSION_INFO
HttpExtensionProc proto WINSTDCALLCONV :ptr EXTENSION_CONTROL_BLOCK
TerminateExtension proto WINSTDCALLCONV :DWORD
proto_PFN_GETEXTENSIONVERSION typedef proto WINSTDCALLCONV :ptr HSE_VERSION_INFO
PFN_GETEXTENSIONVERSION typedef ptr proto_PFN_GETEXTENSIONVERSION
proto_PFN_HTTPEXTENSIONPROC typedef proto WINSTDCALLCONV :ptr EXTENSION_CONTROL_BLOCK
PFN_HTTPEXTENSIONPROC typedef ptr proto_PFN_HTTPEXTENSIONPROC
proto_PFN_TERMINATEEXTENSION typedef proto WINSTDCALLCONV :DWORD
PFN_TERMINATEEXTENSION typedef ptr proto_PFN_TERMINATEEXTENSION
ifdef __cplusplus
;}
endif 
endif 

;--- errors: 0
;--- end of file ---
